package com.yy.qpgame.server.controller;


import com.yy.qpgame.server.dao.UserInfoMapper;
import com.yy.qpgame.server.model.UserInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;




/**
 * 用户管理 http
 */

@RestController
public class UserController {


    @Autowired
    private UserInfoMapper userInfoMapper;

    @RequestMapping(value = "/test")
    public String test() {
        UserInfo userInfo = userInfoMapper.selectByPrimaryKey("123123");

        return userInfo.getPassword();
    }

}
